<div class="sub-header">
    <ul class="nav"> 
        <li>
            <a href="<?php echo Yii::app()->baseUrl;?>/index.php?is_active= 1">
                Active
            </a>
        </li>
        <li>
            <a href="<?php echo Yii::app()->baseUrl;?>/index.php?is_active= 0">
                Not Activities
            </a>
        </li>
    </ul>
</div>
    <div class="item-row margin-top-20">
<?php 
    if (!isset($_GET['is_active'])) {
                        $is_active = 1;                        
                }
                else $is_active = $_GET['is_active'];
                
        foreach ($sale_point as $key => $value): ?>
        <div class="item-block">
            <a href="<?php echo Yii::app()->baseUrl?>/index.php/store/item?ii=<?php echo $key?>">
                <img src="<?php echo Yii::app()->baseUrl."/files/".$value['sale_image'];?>" alt="<?php echo $value['sale_name']?>"/>
            </a>
            <a href="<?php echo Yii::app()->baseUrl?>/index.php/store/item?ii=<?php echo $key?>"><?php echo $value['sale_name']?></a>  
        </div>
         <?php endforeach; ?>
    </div>